#import <UIKit/UIKit.h>
#import <QuartzCore/CAShapeLayer.h>
#import <QuartzCore/QuartzCore.h>
@interface UIView (common)
@property (assign, nonatomic) NSInteger var_typeTag;
- (UIViewController *)ct_viewController;
- (void)ct_drawDashLine:(UIView *)lineView lineLength:(int)lineLength lineSpacing:(int)lineSpacing lineColor:(UIColor *)lineColor;
- (CAGradientLayer *)ct_doAddGrayGradientLayer;
- (CAGradientLayer *)ct_doAddPurpleGradientLayer;
- (CAGradientLayer *)ct_addVerticalGradientLayerStartColor:(CGColorRef)startColor endColor:(CGColorRef)endColor;
- (CAGradientLayer *)ct_addHorizontalGradientLayerStartColor:(CGColorRef)startColor endColor:(CGColorRef)endColor;
- (CAGradientLayer *)ct_doAddGradientLayerStartColor:(CGColorRef)startColor endColor:(CGColorRef)endColor startPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint;
- (void)ct_doAddAlphaGradientLayer:(CGFloat)multiple;
- (void)ct_doAddAlphaGradientLayer:(CGFloat)multiple direction:(NSInteger)direction;
- (void)ct_doRemoveGraditentLayer;
- (CAGradientLayer *)ct_doGetGraditentLayer;
- (void)ct_setupShadowWithCornerRadius:(CGFloat)aCornerRadius color:(UIColor *)color;
+ (UITextField *)ct_doGetTextFiledFromSearchBar:(UISearchBar *)aSearchBar;
@end
@interface CALayer (TJTagLayer)
@property (nonatomic,assign)NSInteger var_Tag;
@end
